package com.gome.ocean.dao.gddl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import com.gome.ocean.dao.model.gddl.AppTableBO;

@Repository("appTableDAO")
public interface AppTableDAO {

    int removeAppTableBOById(Long id);

    int updateAppTableBOById(AppTableBO appTableBO);

    AppTableBO findAppTableBOById(Long id);

    AppTableBO findAppTableByLogicTableName(@Param("logicName") String logicName);

    List<AppTableBO> findAppTableByAppId(@Param("appId") Long appId,RowBounds rowBounds);

    int insertAppTableBO(AppTableBO appTableBO);
}
